#ifndef __LIVE_VARIABLE_ANALYSIS_H__
#define __LIVE_VARIABLE_ANALYSIS_H__

#include <set>
#include <map>

// https://decaf-lang.github.io/minidecaf-tutorial/docs/step7/dataflow.html
class Operand;
class BasicBlock;
class Function;
class Unit;

class MachineOperand;
class MachineBlock;
class MachineFunction;
class MachineUnit;
class MLiveVariableAnalysis
{
private:
    MachineUnit *unit;

public:
    MLiveVariableAnalysis(MachineUnit *unit) : unit(unit){};
    void pass();
};

#endif